Platform Explorer / Nuxeo Platform 6.0

Contribution org.nuxeo.ecm.platform.routing.dm.conditionalfolder.contentTemplateContrib--factoryBinding

This contribution is part of XML component org.nuxeo.ecm.platform.routing.dm.conditionalfolder.contentTemplateContrib inside nuxeo-routing-dm-6.0.jar

Extension Point

Extension point factoryBinding of component ContentTemplateService.

Contributed Items

  • <factoryBinding factoryName="SimpleTemplateFactory" name="ConditionalfolderFactory" targetType="ConditionalStepFolder">
          <template>
            <templateItem description="Decisional task" id="routeDocStep" title="ConditionalTask" typeName="ConditionalTask"/>
            <templateItem description="Branch executed if option1 is chosen" id="option1" title="Option 1" typeName="StepFolder"/>
            <templateItem description="Branch executed if option2 is chosen" id="option2" title="Option 2" typeName="StepFolder"/>
          </template>
        </factoryBinding>

XML Source

<extension point="factoryBinding" target="org.nuxeo.ecm.platform.content.template.service.ContentTemplateService">

    <factoryBinding factoryName="SimpleTemplateFactory" name="ConditionalfolderFactory" targetType="ConditionalStepFolder">
      <template>
        <templateItem description="Decisional task" id="routeDocStep" title="ConditionalTask" typeName="ConditionalTask"/>
        <templateItem description="Branch executed if option1 is chosen" id="option1" title="Option 1" typeName="StepFolder"/>
        <templateItem description="Branch executed if option2 is chosen" id="option2" title="Option 2" typeName="StepFolder"/>
      </template>
    </factoryBinding>

  </extension>